package com.hengxinguotong.hxgtwygsp.ui.revenue;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;

import com.hengxinguotong.baselibrary.smarttab.SmartTabLayout;
import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.BaseActivity;
import com.hengxinguotong.hxgtwygsp.ui.base.BaseTabFragment;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.revenue.allocate.AllocateFragment;
import com.hengxinguotong.hxgtwygsp.ui.revenue.budget.BudgetFragment;

import java.util.ArrayList;
import java.util.List;

import javax.inject.Inject;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * TODO 公共收益
 *
 * @author hjz
 * @version V1.0.0
 * @since 2019/3/27 9:49
 */
public class RevenueActivity extends DialogActivity
{
    @Inject
    BudgetFragment budgetFragment;
    @Inject
    AllocateFragment allocateFragment;

    @Override
    public void initFragmentList()
    {
        dialogTitle.setText(R.string.main_public_revenue);
        budgetFragment.setTabText(getString(R.string.main_income_expense));
        baseTabFragmentList.add(budgetFragment);
        allocateFragment.setTabText(getString(R.string.main_expense_allocate));
        baseTabFragmentList.add(allocateFragment);
    }
}
